<template>
  <div class="rent">
    <van-nav-bar title="房屋管理" left-arrow @click-left="$router.back()" />
    <van-empty>
      <template #description>
        <div>
          您还没有房源，
          <span @click="$router.push('/rent/add')" class="go-publish"> 去发布房源</span>吧~
        </div>
      </template>
    </van-empty>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },

  created () {},

  methods: {}
}
</script>

<style scoped lang="less">
.rent {
  .van-nav-bar {
    background-color: #21b97a;
    /deep/ .van-nav-bar__title {
      color: #fff;
    }
    /deep/ .van-icon {
      color: #fff;
    }
  }
  .go-publish {
    color:#21b97a
  }
}
</style>
